<%@ page language="java" isELIgnored="false"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="../common/header.jspf"%>
<link href="${ctx}/other/css/bootstrap-table.css" rel="stylesheet">
<link href="${ctx}/styles/bootstrap-datetimepicker.min.css"
	rel="stylesheet">
<link href="${ctx}/other/css/select2.css" rel="stylesheet">
<link href="${ctx}/other/css/select2.min.css" rel="stylesheet">

</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="panel-body">
				<html></html>
				<form action="../PaperController/findByCondition.action"
					method="post">
					<div class="select-gril form-inline">
						<div class="col-sm-3 header-search-box col-left">
							<span>试卷名称：</span>
							<div class="col-sm-8 form-group col-both">
								<input type="text" class="form-control" id="paperName"
									name="paperName">
							</div>
						</div>
						<div class="header-zl-right header-search-box">
							<div class="searchBtn" style="float: left; margin-right: 20px;">
								<a id="searchPaper" class="hvr-icon-pulse col-11">查询</a>
							</div>
							<div class="reset" style="float: left;">
								<a class="btn btn-info" id="reset"
									style="width: 70px; height: 28px; padding-left: 10px; padding-top: 3px; color: #fff; font-weight: bold;"><span><i
										class="fa fa-refresh"></i></span> 重置 </a>
							</div>
						</div>
					</div>
				</form>
				<!-- 以上是查询界面   以下是列表界面 -->
			</div>
			<div class="container-main col-sm-12">
				<div class="adv-table">
					<div id="hidden-table-info_wrapper"
						class="dataTables_wrapper form-inline" role="grid">
						<div class="btn-group btn-group-justified">
						    <a class="btn btn-info" id="addPaper"><span><i
									class="fa fa-plus-circle"></i></span>添加</a> 
							<a class="btn btn-info"
								id="modifyPaper"><span><i class="fa fa-pencil"></i></span>修改</a>
						  
							<a class="btn btn-info" id="deletePaper"><span><i
									class="fa fa-trash-o"></i></span>删除</a>
							<span>(信度在0.70-0.80之间为可接受性系数)</span>
						</div>

						<table id="Paper"
							class="table table-bordered dataTable
							table-striped table-hover"
							data-toggle="table"
							data-url="../PaperController/findByCondition.action"
							data-query-params="queryParams" data-click-to-select="true"
							data-unique-id="paperId" data-pagination="true"
							data-page-size="10" data-striped="true" data-show-columns="true"
							data-show-refresh="true"  data-search="true">
							<thead>
								<tr role="row">
									<th class="sorting_disabled" data-checkbox="true"></th>
									<th class="sorting_disabled" data-field="paperId">ID</th>
									<th class="sorting_disabled" data-field="paperName">试卷名称</th>
									<th class="sorting_disabled" data-field="number">单选题目数量</th>
									<th class="sorting_disabled" data-field="multipltChoose">多选题目数量</th>
									<th class="sorting_disabled" data-field="judgementChoose">判断题目数量</th>
									<th class="sorting_disabled" data-field="time">时间(分钟)</th>
								    <th class="sorting_disabled" data-field="extend1">信度</th>
									<th class="sorting_disabled" data-field="extend2">效度</th>
                                    <th class="sorting_disabled" data-field="paperId" data-formatter="findPaper">操作</th>
								</tr>
							</thead>
						</table>
					</div>
				</div>
			</div>
		</div>

	</div>


	
                <%@ include file="paper_file.jsp"%>
				<%@ include file="../common/bottom.jspf"%>
				<!-- hDialog -->
				<script type="text/javascript" src="${ctx}/script/jquery.hDialog.js"></script>
				<script type="text/javascript" src="${ctx}/other/js/moment.min.js"></script>
				<script type="text/javascript"
					src="${ctx}/other/js/sweetalert.min.js"></script>
			<%-- 	<script type="text/javascript" src="${ctx}/other/js/bootstrap-select.min.js"></script>
				<script type="text/javascript" src="${ctx}/other/js/defaults-zh_CN.js"></script>
				<script type="text/javascript" src="${ctx}/other/js/defaults-zh_CN.min.js"></script> --%>
				<script type="text/javascript" src="${ctx}/other/js/select2.full.js"></script>
				<script type="text/javascript"
					src="${ctx}/other/js/select2.full.min.js"></script>
				<script type="text/javascript" src="${ctx}/other/js/select2.js"></script>
				<script type="text/javascript" src="${ctx}/other/js/select2.min.js"></script> 
				
				<script type="text/javascript" src="${ctx}/script/pm/paper.js"></script>

</body>
